package com.yx.server.service;

import com.yx.server.base.CustomService;
import com.yx.server.facade.IUserFacade;
import com.yx.server.base.CustomMapper;
import com.yx.server.mapper.UserMapper;
import com.yx.server.pojo.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserService extends CustomService<User> implements IUserFacade {

    @Resource
    private UserMapper mapper;

    @Override
    protected CustomMapper<User> initMapper() {
        return mapper;
    }
}
